package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 权益类型对象 operate_equity_type
 *
 * @author elai
 * @date 2021-04-10
 */
public class OperateEquityTypeDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营销ID */
    private Long id;

    /** 卡片类型编号 */
    @Excel(name = "卡片类型编号")
    private String cardCode;

    /** 卡片类型 */
    @Excel(name = "卡片类型")
    private String cardType;

    /** 卡片地址 */
    @Excel(name = "卡片地址")
    private String cardAddr;

    /** 预留参数1 */
    @Excel(name = "预留参数1")
    private String cardParam1;

    /** 预留参数2 */
    @Excel(name = "预留参数2")
    private String cardParam2;

    /** 预留参数3 */
    @Excel(name = "预留参数3")
    private String cardParam3;

    /** 预留参数4 */
    @Excel(name = "预留参数4")
    private String cardParam4;

    /** 是否可用Y可用 N禁用 */
    @Excel(name = "是否可用Y可用 N禁用")
    private String isEnable;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setCardCode(String cardCode)
    {
        this.cardCode = cardCode;
    }
    public String getCardCode()
    {
        return cardCode;
    }

    public void setCardType(String cardType)
    {
        this.cardType = cardType;
    }
    public String getCardType()
    {
        return cardType;
    }

    public void setCardAddr(String cardAddr)
    {
        this.cardAddr = cardAddr;
    }
    public String getCardAddr()
    {
        return cardAddr;
    }

    public void setCardParam1(String cardParam1)
    {
        this.cardParam1 = cardParam1;
    }
    public String getCardParam1()
    {
        return cardParam1;
    }

    public void setCardParam2(String cardParam2)
    {
        this.cardParam2 = cardParam2;
    }
    public String getCardParam2()
    {
        return cardParam2;
    }

    public void setCardParam3(String cardParam3)
    {
        this.cardParam3 = cardParam3;
    }
    public String getCardParam3()
    {
        return cardParam3;
    }

    public void setCardParam4(String cardParam4)
    {
        this.cardParam4 = cardParam4;
    }
    public String getCardParam4()
    {
        return cardParam4;
    }

    public void setIsEnable(String isEnable)
    {
        this.isEnable = isEnable;
    }
    public String getIsEnable()
    {
        return isEnable;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardCode", getCardCode())
            .append("cardType", getCardType())
            .append("cardAddr", getCardAddr())
            .append("cardParam1", getCardParam1())
            .append("cardParam2", getCardParam2())
            .append("cardParam3", getCardParam3())
            .append("cardParam4", getCardParam4())
            .append("isEnable", getIsEnable())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
